/* eslint-disable */
import request from '@/utils/request'

export function articleAPI(params) {
  return request({
    method: 'GET',
    url: '/admin/interview/query',
    params: params
  })
}
// 获取单个面经详情
export function detailAPI(id) {
  return request({
    method: 'GET',
    url: '/h5/interview/show',
    params: {
      id: id
    }
  })
}

export function collectAndLikeAPI(data) {
  return request({
    method: 'POST',
    url: '/h5/interview/opt',
    data
  })
}

// 获取点赞的题目
export function collectLikeListAPI(params) {
  return request({
    url: '/h5/interview/opt/list',
    params
  })
}
